package Sebastian_Konieczny;

import static java.lang.Math.PI;
import static java.lang.Math.pow;

public class Kolo {
	private double r;
	
	public void setR(double a){
		r = a;
	}
	public double getR(){
		return r;
	}
	
	public double Pole(){
		return PI * pow(r, 2);
	}
	public double Srednica(){
		return r * 2;
	}
	public double Obwod(){
		return 2 * PI * r;
	}
}
